package com.lx.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("pms_category")
public class Category implements Serializable {
    @TableId(value = "cat_id", type = IdType.AUTO)
    private Integer catId;
    private String name;//分类名称
    private Integer parentCid;//父分类id
    private Integer catLevel;//层级
    private Integer showStatus;//是否显示[0-不显示，1显示]
    private Integer sort;//排序
    private String icon;//图标地址
    private String productUnit;//计量单位
    private Integer productCount;//商品数量


}
